<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table border="1" cellspacing="0">
        <tr>
            <td>ID</td>
            <td>姓名</td>
            <td>性别</td>
            <td>年龄</td>
        </tr>
        <tr th:each="emp:${list}">
            <td th:text="${emp.eid}"></td>
            <td th:text="${emp.ename}"></td>
            <td th:text="${emp.sex}"></td>
            <td th:text="${emp.age}"></td>
        </tr>
    </table>
</body>
</html>